<div data-dux="table-bind">
    <div class="dux-page-header uk-clearfix">
        <div class="page-title">
            <form class="dux-form uk-form  uk-form-inline" method="get" action="{url()}">
                <div class="uk-form-group">
                    <input type="text" name="keyword" class="uk-form-field" value="{$pageMaps.keyword}"
                           placeholder="搜索">
                </div>
                <div class="uk-form-group">
                    <select class="uk-form-field" name="type">
                        <option value="4">全部</option>
                        <option value="1" <!--if{$pageMaps.type == 1}-->selected <!--{/if}-->>待审核</option>
                        <option value="2" <!--if{$pageMaps.type == 2}-->selected <!--{/if}-->>已退款</option>
                        <option value="3" <!--if{$pageMaps.type == 3}-->selected <!--{/if}-->>未通过</option>
                        <option value="0"  <!--if{$pageMaps.type == '0'}-->selected <!--{/if}-->>已取消</option>
                    </select>
                </div>
                <div class="uk-form-group">
                    <button type="submit" class="uk-button uk-button-primary"><i class="fa fa-search"></i></button>
                </div>
            </form>
        </div>
    </div>
    <div class="dux-page-table">
        <table class="uk-table  uk-table-responsive  uk-table-striped uk-table-hover uk-table-middle dux-table" data-table>
            <thead>
            <tr>
                <th>退款单</th>
                <th colspan="2">商品</th>
                <th>用户</th>
                <th>退款金额</th>
                <th >类型</th>
                <th>申请时间</th>
                <th class="uk-text-center">状态</th>
                <th class="uk-text-center" width="150">管理</th>
            </tr>
            </thead>
            <tbody>
            <!--loop{$list as $vo}-->
            <tr>
                <td>
                    {$vo.refund_no}
                </td>
                <td width="70">
                    <a href="{$vo.goods_url}" target="_blank" class="uk-float-left">
                        <img src="{$vo.goods_image}" width="60" height="60">
                    </a>
                </td>
                <td>
                    <div><a href="{$vo.goods_url}" target="_blank" class="link">{$vo.goods_name}</a>
                    </div>
                    <div class="dux-text-disabled">
                        <!--loop{(array)$vo.goods_options as $v}-->
                        {$v.value}
                        <!--{/loop}-->
                    </div>
                </td>
                <td><a data-dux="dialog-open" data-url="{url('member/MemberUser/dialogUser', ['id' => $vo.user_id])}" data-title="用户信息" data-height="250px" href="javascript:;">{$vo.show_name}</a></td>
                <td>
                    ￥{$vo.price}
                    <p>运费：{$vo.delivery_price}</p>
                </td>
                <td>{$vo.type_title}</td>
                <td>{date('Y-m-d H:i:s', $vo.create_time)}</td>
                <td class="uk-text-center">
                    <span class="uk-text-{$vo.status_data.color}">{$vo.status_data.title}</span>
                </td>
                <td class="uk-text-center">
                    <a title="详情" href="{url('info', ['id'=>$vo['refund_id']])}">详情</a>
                </td>
            </tr>
            <!--{/loop}-->
            </tbody>
        </table>
    </div>
    <div class="dux-page-foot uk-clearfix">
        {$page}
    </div>
</div>